<div class="dssv">
    <form method="post" action="" name="frmSinhvien">
        <table>
            <tr>
                <td colspan="10"><label class="box-one">Tìm kiếm: </label><input type="text" name="txtkey" value="" /></td>
            </tr>
            <tr>
                <th><input type="checkbox" name="chk-all" id="chk-all" /></th>
                <th>Mã sinh viên</th>
                <th>Tên sinh viên</th>
                <th>Số CMND</th>
                <th>Ngày sinh</th>
                <th>Giới tính</th>
                <th>Điện thoại</th>
                <th>Nơi sinh</th>
                <th colspan="2">Action</th>
            </tr>
            {foreach from=$dssv item=sv}
            <tr>
                <td class="cangiua"><input type="checkbox" name="chk-all" id="chk-all" /></td>
                <td class="cangiua">{$sv->getma_sv()}</td>
                <td>{$sv->gethoten_sv()}</td>
                <td class="canphai">{$sv->getcmtnd_sv()}</td>
                <td class="cangiua">{$sv->getngaysinh_sv()}</td>
                <td class="cangiua">{$sv->getgioitinh_sv()}</td>
                <td class="canphai">{$sv->getdienthoai_sv()}</td>
                <td>{$sv->getnoisinh_sv()}</td>
                <td><a href="?muc=sinhvien&modul=suasinhvien&masv={$sv->getma_sv()}">Edit</a></td>
                <td><a onclick="return confirm('Are you sure delete item?')" href="?muc=sinhvien&modul=xoasinhvien&masv={$sv->getma_sv()}">Del</a></td>
            </tr>
            {/foreach}
            
            <tr><td>&nbsp;</td></tr>
            <tr>
                <td colspan="10" class="canphai">
                    <input type="button" value="ADD" name="btnAdd" id="btnAdd" onclick="onAdd();"/>
                    <input type="button" value="DelAll" name="btnDelAll" id="btnDelAll" />
                </td>
            </tr>
        </table>
    </form>
</div>